<?php


namespace App\Constant;


/**
 * Class Env 环境常量
 * @package App\Constant
 */
class Env
{
    /**
     *
     */
    const ENV_LOCAL = 'local';
    /**
     *
     */
    const ENV_DEV = 'dev';
    /**
     *
     */
    const ENV_RELEASE = 'release';

    /**
     * @return array
     */
    public static function getEnv()
    {
        return [
            self::ENV_LOCAL => '本地环境',
            self::ENV_DEV => '测试环境',
            self::ENV_RELEASE => '生产环境',
        ];
    }
}